{% extends theme('account/base.html') %}

{% block body %}

{% if not current_user.confirmed %}
<div class="page-header">
    <h1>
        Hello, {{ current_user.username }}!
    </h1>
    <h3>You have not confirmed your account yet.</h3>
    <p>
        Before you can access this site you need to confirm your account.
        Check your inbox, you should have received an email with a confirmation link.
    </p>
    <p>
        Need another confirmation email?
        <a href="{{ url_for('account.resend_confirmation') }}">Click here</a>
    </p>
</div>
{% endif %}

<img src="{{ current_user.gravatar() }}" />

<ul>
  <li><a href="{{ url_for('account.change_password') }}">Change Password</a></li>
  <li><a href="{{ url_for('account.change_email_request') }}">Change Email</a></li>
  <li><a href="{{ url_for('admin.index') }}">Admin</a></li>
  <li><a href="{{ url_for('account.logout') }}">Logout</a></li>
</ul>
{% endblock %}
